﻿

''' <summary>
''' 图片
''' </summary>
''' <remarks></remarks>
Public Class Picture

    Sub New()

    End Sub

    Sub New(ByVal id As String, _
            ByVal itemId As String, _
            ByVal itemType As ContentType, _
            ByVal comicId As String, _
            ByVal fileName As String, _
            ByVal fileExtension As String, _
            ByVal size As Integer, _
            ByVal itemUrl As Uri, _
            ByVal mimeType As String, _
            ByVal dateCreated As DateTimeOffset, _
            ByVal dateModified As DateTimeOffset)

    End Sub

    Dim _id As String


    ''' <summary>
    ''' 内容 ID
    ''' </summary>
    ''' <remarks></remarks>
    Dim _itemId As String



    ''' <summary>
    ''' 内容 类型
    ''' </summary>
    ''' <remarks></remarks>
    Dim _itemType As ContentType


    Dim _comicId As String


    ''' <summary>
    ''' 文件名字
    ''' </summary>
    ''' <remarks></remarks>
    Dim _fileName As String


    ''' <summary>
    ''' 扩展名
    ''' </summary>
    ''' <remarks></remarks>
    Dim _fileExtension As String



    ''' <summary>
    ''' 大小
    ''' </summary>
    ''' <remarks></remarks>
    Dim _size As Integer


    ''' <summary>
    ''' 路径
    ''' </summary>
    ''' <remarks></remarks>
    Dim _itemUrl As Uri



    ''' <summary>
    ''' MIME 类型
    ''' </summary>
    ''' <remarks></remarks>
    Dim _mimeType As String



    ''' <summary>
    ''' 建立时间
    ''' </summary>
    ''' <remarks></remarks>
    Dim _dateCreated As DateTimeOffset


    ''' <summary>
    ''' 修改时间
    ''' </summary>
    ''' <remarks></remarks>
    Dim _dateModified As DateTimeOffset


    Public Property ComicId() As String
        Get
            Return _comicId
        End Get
        Set(ByVal value As String)
            _comicId = value
        End Set
    End Property
    ''' <summary>
    ''' 建立时间
    ''' </summary>
    ''' <remarks></remarks>
    Public Property DateCreated() As DateTimeOffset
        Get
            Return _dateCreated
        End Get
        Set(ByVal value As DateTimeOffset)
            _dateCreated = value
        End Set
    End Property
    ''' <summary>
    ''' 修改时间
    ''' </summary>
    ''' <remarks></remarks>
    Public Property DateModified() As DateTimeOffset
        Get
            Return _dateModified
        End Get
        Set(ByVal value As DateTimeOffset)
            _dateModified = value
        End Set
    End Property
    ''' <summary>
    ''' 扩展名
    ''' </summary>
    ''' <remarks></remarks>
    Public Property FileExtension() As String
        Get
            Return _fileExtension
        End Get
        Set(ByVal value As String)
            _fileExtension = value
        End Set
    End Property
    ''' <summary>
    ''' 文件名字
    ''' </summary>
    ''' <remarks></remarks>
    Public Property FileName() As String
        Get
            Return _fileName
        End Get
        Set(ByVal value As String)
            _fileName = value
        End Set
    End Property
    Public Property Id() As String
        Get
            Return _id
        End Get
        Set(ByVal value As String)
            _id = value
        End Set
    End Property
    ''' <summary>
    ''' 内容 ID
    ''' </summary>
    ''' <remarks></remarks>
    Public Property ItemId() As String
        Get
            Return _itemId
        End Get
        Set(ByVal value As String)
            _itemId = value
        End Set
    End Property
    ''' <summary>
    ''' 内容 类型
    ''' </summary>
    ''' <remarks></remarks>
    Public Property ItemType() As ContentType
        Get
            Return _itemType
        End Get
        Set(ByVal value As ContentType)
            _itemType = value
        End Set
    End Property
    ''' <summary>
    ''' 路径
    ''' </summary>
    ''' <remarks></remarks>
    Public Property ItemUrl() As Uri
        Get
            Return _itemUrl
        End Get
        Set(ByVal value As Uri)
            _itemUrl = value
        End Set
    End Property
    ''' <summary>
    ''' MIME 类型
    ''' </summary>
    ''' <remarks></remarks>
    Public Property MimeType() As String
        Get
            Return _mimeType
        End Get
        Set(ByVal value As String)
            _mimeType = value
        End Set
    End Property
    ''' <summary>
    ''' 大小
    ''' </summary>
    ''' <remarks></remarks>
    Public Property Size() As Integer
        Get
            Return _size
        End Get
        Set(ByVal value As Integer)
            _size = value
        End Set
    End Property











End Class
